package com.company.exam1;

public class test {
    public static void main(String[] args) {
        Pet dog=new Dog("狗狗");
        Pet cat=new Cat("猫咪");
        dog.seeDoctor();
        cat.seeDoctor();
    }
}
